﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Setup.aspx.cs" Inherits="Setup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 209px;
        }
        .style2
        {
            width: 212px;
        }
        .style3
        {
            width: 150px;
        }
        .style4
        {
            width: 141px;
        }
        .style65
        {
            width: 56px;
        }
        .style17
        {
            width: 166px;
        }
        .style77
        {
            width: 56px;
            height: 40px;
        }
        .style78
        {
            width: 166px;
            height: 40px;
        }
        .style63
        {
            width: 56px;
            height: 113px;
        }
        .style58
        {
            width: 166px;
            height: 113px;
        }
        .style64
        {
            width: 56px;
            height: 38px;
        }
        .style66
        {
            width: 12px;
            height: 38px;
        }
        .style13
        {
            width: 166px;
            height: 38px;
        }
        .style79
        {
            width: 94px;
        }
        .style80
        {
            width: 242px;
        }
        .style81
        {
            width: 53px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table style="width: 100%; height: 215px;">
            <tr>
                <td class="style4">
                    Complaint :</td>
                <td class="style1">
                    <asp:DropDownList ID="DropDownList1" runat="server" 
                        Height="22px" Width="165px" 
                        onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                        DataSourceID="SqlDataSource1" DataTextField="comp" DataValueField="comp">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [comp] FROM [complaint]"></asp:SqlDataSource>
                </td>
                <td class="style2">
                    <asp:TextBox ID="TextBox1" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Add" 
                        Width="70px" />
                </td>
                <td>
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Remove" 
                        Width="70px" />
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Finding (+ve data) :</td>
                <td class="style1">
                    <asp:DropDownList ID="DropDownList2" runat="server" 
                        Height="22px" Width="165px" DataSourceID="SqlDataSource2" 
                        DataTextField="finddata" DataValueField="finddata">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [finddata] FROM [finding]"></asp:SqlDataSource>
                </td>
                <td class="style2">
                    <asp:TextBox ID="TextBox2" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                        style="height: 26px" Text="Add" Width="70px" />
                </td>
                <td>
                    <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="Remove"
                        Width="70px" />
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Diagnosis :</td>
                <td class="style1">
                    <asp:DropDownList ID="DropDownList3" runat="server" 
                        Height="22px" Width="165px" DataSourceID="SqlDataSource3" 
                        DataTextField="diag" DataValueField="diag">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [diag] FROM [Diagnosis]"></asp:SqlDataSource>
                </td>
                <td class="style2">
                    <asp:TextBox ID="TextBox3" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Button ID="Button5" runat="server" onclick="Button5_Click" Text="Add" 
                        Width="70px" />
                </td>
                <td>
                    <asp:Button ID="Button6" runat="server" onclick="Button6_Click" Text="Remove" 
                        Width="70px" />
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Brand Name :</td>
                <td class="style1">
                    <asp:DropDownList ID="DropDownList4" runat="server" Height="22px" Width="165px" 
                        DataSourceID="SqlDataSource4" DataTextField="name" DataValueField="name">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [name] FROM [brandname] ORDER BY [name]"></asp:SqlDataSource>
                </td>
                <td class="style2">
                    <asp:TextBox ID="TextBox4" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Button ID="Button7" runat="server" onclick="Button7_Click" Text="Add" 
                        Width="70px" />
                </td>
                <td>
                    <asp:Button ID="Button8" runat="server" onclick="Button8_Click" Text="Remove" 
                        Width="70px" />
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Color :</td>
                <td class="style1">
                    <asp:DropDownList ID="DropDownList5" runat="server" Height="22px" Width="165px" 
                        DataSourceID="SqlDataSource5" DataTextField="color" DataValueField="color">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource5" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:nourcenterConnectionString %>" 
                        SelectCommand="SELECT [color] FROM [color] ORDER BY [color]"></asp:SqlDataSource>
                </td>
                <td class="style2">
                    <asp:TextBox ID="TextBox5" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Button ID="Button9" runat="server" onclick="Button9_Click" Text="Add" 
                        Width="70px" />
                </td>
                <td>
                    <asp:Button ID="Button10" runat="server" onclick="Button10_Click" Text="Remove" 
                        Width="70px" />
                </td>
            </tr>
        </table>
    
    </div>
    
        <table style="width:750px">
            <tr>
                <td class="style65">
                    Suppliers</td>
                <td class="style17" colspan="2">
                    <asp:Label ID="Label1" runat="server" style="color: #FF0000"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style65">
                    Select :</td>
                <td class="style17" colspan="2">
                    <asp:DropDownList ID="DropDownList6" runat="server" AutoPostBack="True" 
                        Height="22px"  
                        Width="155px" onselectedindexchanged="DropDownList6_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style77">
                    Name :</td>
                <td class="style78" colspan="2">
                    <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style77">
                    Address :</td>
                <td class="style78" colspan="2">
                    <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style77">
                    Mobile :</td>
                <td class="style78" colspan="2">
                    <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style77">
                    Tel. :</td>
                <td class="style78" colspan="2">
                    <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style77">
                    Fax :</td>
                <td class="style78" colspan="2">
                    <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style77">
                    Account Number :</td>
                <td class="style78" colspan="2">
                    <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style63">
                    Notes :</td>
                <td class="style58" colspan="2">
                    <asp:TextBox ID="TextBox7" runat="server" Height="109px" TextMode="MultiLine" 
                        Width="175px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style64">
                    <asp:Button ID="Button11" runat="server" Height="35px"  
                        Text="Insert" Width="85px" onclick="Button11_Click" />
                </td>
                <td class="style66">
                    <asp:Button ID="Button12" runat="server" Height="35px" Text="Modify" 
                        Width="85px" onclick="Button12_Click" />
                </td>
                <td class="style13">
                    <asp:Button ID="Button13" runat="server" Height="35px" Text="Remove" 
                        Width="85px" onclick="Button13_Click"  />
                </td>
            </tr>
        </table>
    <br />
    <table style="width:100%;">
        <tr>
            <td class="style79">
                Employee :</td>
            <td class="style80">
                &nbsp;</td>
            <td class="style81">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style79">
                Name :</td>
            <td class="style80">
                <asp:TextBox ID="TextBox13" runat="server" Width="183px"></asp:TextBox>
            </td>
            <td class="style81">
                Job :</td>
            <td>
                <asp:DropDownList ID="DropDownList7" runat="server" Width="98px">
                    <asp:ListItem>Doctor</asp:ListItem>
                    <asp:ListItem>Reception</asp:ListItem>
                    <asp:ListItem>G.Manager</asp:ListItem>
                    <asp:ListItem>أمين مخزن</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style79">
                Address :</td>
            <td class="style80">
                <asp:TextBox ID="TextBox14" runat="server" Width="183px"></asp:TextBox>
            </td>
            <td class="style81">
                Mobile :</td>
            <td>
                <asp:TextBox ID="TextBox15" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style79">
                Tel.</td>
            <td class="style80">
                <asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>
            </td>
            <td class="style81">
                &nbsp;</td>
            <td>
                <asp:Button ID="Button14" runat="server" Height="34px" onclick="Button14_Click" 
                    Text="Insert" Width="96px" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
